<!-- 新增学生信息模态框 -->
<template lang="html">
<el-dialog title="新增学生信息" :visible="addUserForm" size="tiny" :modal-append-to-body='false' @close='closeDialog'>
  <el-form id="#addsForm" ref="addsForm" :model="data" label-width="80px">
    <el-form-item label="姓名" prop="name">
      <el-input v-model="data.name"></el-input>
    </el-form-item>
    <el-form-item label="日期" prop="date">
      <el-input v-model="data.date"></el-input>
    </el-form-item>
    <el-form-item label="地址" prop="address">
      <el-input v-model="data.address"></el-input>
    </el-form-item>
  </el-form>
</el-dialog>    
</template>

<script>
export default {
  data() {
    return {
      addData: {
        name: "",
        address: "",
        date: ""
      }
    };
  },
  methods: {
    closeDialog() {
      this.show = false;
    }
  }
};
</script>
